package org.uoss.applications.framework.dao.jpa;

import javax.annotation.Resource;

import org.uoss.applications.framework.dao.jpa.generic.GenericDAO;
import org.uoss.applications.framework.dao.jpa.hibernate.HibernateDAO;
import org.uoss.applications.framework.dao.nativeSQL.NativeSQLDAO;



public abstract class AbstractDAO<T> {
	
	private NativeSQLDAO<T> nativeSQLDAO;
	@Resource
	private GenericDAO<T> genericDAO;
	@Resource
	private HibernateDAO<T> hibernateDAO;
	
	public NativeSQLDAO<T> getNativeSQLDAO() {
		return nativeSQLDAO;
	}

	public void setNativeSQLDAO(NativeSQLDAO<T> nativeSQLDAO) {
		this.nativeSQLDAO = nativeSQLDAO;
	}

	public GenericDAO<T> getGenericDAO() {
		return genericDAO;
	}

	public void setGenericDAO(GenericDAO<T> genericDAO) {
		this.genericDAO = genericDAO;
	}

	public HibernateDAO<T> getHibernateDAO() {
		return hibernateDAO;
	}

	public void setHibernateDAO(HibernateDAO<T> hibernateDAO) {
		this.hibernateDAO = hibernateDAO;
	}
}
